<template>
<div class="">
    <el-steps :active="2" simple>
        <el-step title="编辑课程" icon="el-icon-edit"></el-step>
        <el-step title="创建章节" icon="el-icon-upload"></el-step>
        <el-step title="添加成功" icon="el-icon-user"></el-step>
    </el-steps>
    <div class="body1">
        <div class="body2">
            <el-button type="primary" plain>添加章节</el-button>
            <el-button type="danger" plain>删除章节</el-button>
        </div>
       <el-collapse v-model="activeName" accordion>
            <el-collapse-item title="第一章 协议的基础介绍" name="1" >
                <div>与现实生活一致：与现实生活的流程、逻辑保持一致，遵循用户习惯的语言和概念；</div>
                <div>在界面中一致：所有的元素和结构需保持一致，比如：设计样式、图标和文本、元素的位置等。</div>
            </el-collapse-item>
        </el-collapse>
    </div>
</div>
</template>
<script>
   
</script>
<style>
.body1{
    margin: 10px;
}
.body2{
    margin-top: 30px;
    margin-bottom: 10px;
}
.el1{
    margin-left: 10px;
}
</style>